package com.solute.utils.image;

import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;

public interface ImageRepository {
	
	/**
	 * 
	 * @param id
	 * @param image
	 * @return stored path
	 * @throws IOException store failed
	 */
	public String store(String id, MultipartFile image) throws IOException;
	public void remove(String id) throws IOException;
	public String getPath();
}
